package com.gscitysfy.cus.drain;
import com.gscitysfy.cloudfrmwk.cache.annotation.EnableHerodotusCache;
import com.gscitysfy.cloudfrmwk.kernel.annotation.EnableHerodotusKernel;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 葛守跃
 * @version 1.0.0
 * @ClassName DrainApplication
 * @Description 启动类
 * @creatTime 2022/10/13 16:01
 */
@SpringBootApplication
@MapperScan("com.gscitysfy.cus.drain.modules.*.mapper")
@EnableTransactionManagement
@EnableHerodotusCache
@EnableHerodotusKernel
@EnableAsync
public class DrainApplication {

    public static void main(String[] args) {
        SpringApplication application = new  SpringApplication(DrainApplication.class);
        application.setAllowBeanDefinitionOverriding(true);
        application.setAllowCircularReferences(true);
        application.run(args);
    }

}
